package com.baidu;

public class StudentTest {
    private int sid;
    private String studentno;
    private String sname;
    private String gender;
    private int age;
    private String address;

    public StudentTest(int sid, String studentno, String sname, String gender, int age, String address) {
        this.sid = sid;
        this.studentno = studentno;
        this.sname = sname;
        this.gender = gender;
        this.age = age;
        this.address = address;
    }

    public StudentTest() {
    }

    public int getSid() {
        return sid;
    }

    public void setSid(int sid) {
        this.sid = sid;
    }

    public String getStudentno() {
        return studentno;
    }

    public void setStudentno(String studentno) {
        this.studentno = studentno;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "StudentTest{" +
                "sid=" + sid +
                ", studentno='" + studentno + '\'' +
                ", sname='" + sname + '\'' +
                ", gender='" + gender + '\'' +
                ", age=" + age +
                ", address='" + address + '\'' +
                '}';
    }
}
